<?php
/**
 * Created by IntelliJ IDEA.
 * User: Kmontyjack
 * Date: 23.11.11
 * Time: 14:22
 * To change this template use File | Settings | File Templates.
 */
 
class Admin_Form_Hledat extends Zend_Form
{
    public function init()
    {
        $Kniha     = new Zend_Form_Element_Text('kniha',
            array('size'     => 15,
                  'maxlength'=> 20,
                  'label'    => 'Kniha'));
        $Autor = new Zend_Form_Element_Text('autor',
            array('size'      => 15,
                  'maxlength' => 20,
                  'label'     => 'Autor'));

        $send = new Zend_Form_Element_Submit('hledej','Hledej');


        $this->addElements(array($Kniha, $Autor, $send));
    }
}
